package org.jeecg.modules.demo.projectroom.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 房源表
 * @Author: jeecg-boot
 * @Date:   2022-04-09
 * @Version: V1.0
 */
@Data
@TableName("znzf_room")
@ApiModel(value="znzf_room对象", description="房源表")
public class ZnzfRoom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**房源号*/
	@Excel(name = "房源号", width = 15)
    @ApiModelProperty(value = "房源号")
    private java.lang.String no;
	/**外键,项目号*/
    @ApiModelProperty(value = "外键,项目号")
    private java.lang.String projectId;
	/**产权证号*/
	@Excel(name = "产权证号", width = 15)
    @ApiModelProperty(value = "产权证号")
    private java.lang.String propertyNo;
	/**门牌号*/
	@Excel(name = "门牌号", width = 15)
    @ApiModelProperty(value = "门牌号")
    private java.lang.String houseNo;
	/**宿舍名称（按栋填报）*/
	@Excel(name = "宿舍名称（按栋填报）", width = 15)
    @ApiModelProperty(value = "宿舍名称（按栋填报）")
    private java.lang.String name;
	/**班组名称*/
	@Excel(name = "班组名称", width = 15)
    @ApiModelProperty(value = "班组名称")
    private java.lang.String groupName;
	/**单元*/
	@Excel(name = "单元", width = 15)
    @ApiModelProperty(value = "单元")
    private java.lang.String unit;
	/**楼层*/
	@Excel(name = "楼层", width = 15)
    @ApiModelProperty(value = "楼层")
    private java.lang.Integer floor;
	/**房间号*/
	@Excel(name = "房间号", width = 15)
    @ApiModelProperty(value = "房间号")
    private java.lang.String roomNo;
	/**宿舍类型*/
	@Excel(name = "宿舍类型", width = 15)
    @Dict(dicCode = "room_type")
    @ApiModelProperty(value = "宿舍类型")
    private java.lang.String type;
	/**面积*/
	@Excel(name = "面积", width = 15)
    @ApiModelProperty(value = "面积")
    private java.lang.Double area;
	/**建造年月*/
	@Excel(name = "建造年月", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "建造年月")
    private java.util.Date buildTime;
	/**收费标准*/
	@Excel(name = "收费标准", width = 15)
    @ApiModelProperty(value = "收费标准")
    private java.lang.Double fare;
	/**是否有人住（0无居住，1有居住）*/
	@Excel(name = "是否有人住（0无居住，1有居住）", width = 15)
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有人住（0无居住，1有居住）")
    private java.lang.Integer islive;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private java.lang.String pic;
	/**床位数*/
	@Excel(name = "床位数", width = 15)
    @ApiModelProperty(value = "床位数")
    private java.lang.Integer bedNum;
	/**入住人数*/
	@Excel(name = "入住人数", width = 15)
    @ApiModelProperty(value = "入住人数")
    private java.lang.Integer livedNum;
	/**状态（正常，维修中，黑名单,被框定,被锁定）*/
	@Excel(name = "状态（正常，维修中，黑名单,被框定,被锁定）", width = 15)
    @Dict(dicCode = "room_state")
    @ApiModelProperty(value = "状态（正常，维修中，黑名单,被框定,被锁定）")
    private java.lang.Integer state;
	/**备用字段1*/
	@Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private java.lang.String temp1;
	/**备用字段2*/
	@Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private java.lang.String temp2;

    @ApiModelProperty(value = "状态文本")
    private transient java.lang.String state_dictText;

}
